package com.ssm.lzh.service;

import com.github.pagehelper.PageInfo;
import com.ssm.hj.page.Page;
import com.ssm.lzh.vo.BookingView;
import com.ssm.pojo.Booking;

public interface BookingService {
    PageInfo<BookingView> queryAllBooking(Page<BookingView> page);

    int confirmBooking(Booking booking);

    int cancelBooking(int rid);

    int addBooking(Booking booking);
}
